/*Navbar*/

.navbar {
  display: flex;
  background-color: #004F94;
  color: white;
  height: 340px;
  justify-content: center;
  position: relative; /* Added to position flags absolutely */
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1750px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.logo-container {
  text-align: center;
}

.navbar .logo {
  width: auto;
  height: 113px;
  margin-top: 15px;
  margin-bottom: -15px;
}

.navbar h2 {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0;
}

.navbar h1 {
  font-family: Fjord;
  font-size: 64px;
  font-weight: 400;
  line-height: 80px;
  text-align: center;
}

.navbar h3 {
  font-family: 'Fira Sans Condensed', sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin: 0;
}

.nav-menu {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.navbar ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  gap: 70px; /* Added for 70px space between menu items */
}

.navbar ul li {
  font-family: "Fjalla One", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #F2EFE4;
}

.navbar ul li a {
  display: block;
  color: #F2EFE4;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
}

.navbar ul li a:hover {
  text-decoration: underline;
}

/* Flag Container */
.flag-container {
  position: absolute;
  bottom: 20px; /* Adjust as needed */
  right: 75px; /* Move 75px from the right */
}

.flag-container a {
  margin-left: 10px;
}

.flag-container img {
  width: 35px;
  height: auto;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .navbar {
    height: auto;
  }

  .navbar .logo {
    height: 90px;
  }

  .navbar h1 {
    font-size: 48px;
    line-height: 60px;
  }

  .navbar h2 {
    font-size: 20px;
  }

  .navbar h3 {
    font-size: 18px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .nav-menu ul li {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .navbar h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .navbar h2 {
    font-size: 18px;
  }

  .navbar h3 {
    font-size: 16px;
  }

  .nav-menu ul li {
    font-size: 16px;
  }

  .nav-menu ul li a {
 margin-top: px;
  }

  .flag-container {
    position: static; /* Revert position for smaller screens */
    margin-top: 10px;
    text-align: center; /* Center the flags */
  }

  .flag-container img {
    width: 25px;
    margin: 5px 0;
  }
}
